<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<jsp:useBean id="member" class="oneroom.admin.member.MemberDao" scope="page"/>
<%@ page import="java.util.HashMap"%>    
<%
	String redirectUrl = "";
	String	mode = request.getParameter("mode") == null ? "" : request.getParameter("mode");
	String	name = request.getParameter("name") == null ? "" : request.getParameter("name");
	String	pname = request.getParameter("pname") == null ? "" : request.getParameter("pname");
	String	email = request.getParameter("email") == null ? "" : request.getParameter("email");
	String	pemail = request.getParameter("pemail") == null ? "" : request.getParameter("pemail");
	String	id = request.getParameter("id") == null ? "" : request.getParameter("id");
	
	HashMap	returnMap = new HashMap();
	if(mode.equals("I")){
		returnMap	= member.getFindId(request);
	}else{
		returnMap	= member.getFindPwd(request);
	}
	String result_id	= "";
	String result_pwd	= "";
	String saveYn	= "";
	result_id	= (String)returnMap.get("id");
	result_pwd	= (String)returnMap.get("pwd");
	saveYn		= (String)returnMap.get("saveYn");
%>  
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>원룸몬스터</title>

<link href="/room/css/all.css" rel="stylesheet" type="text/css" />
<script src="/room/script/swfobject_modified.js" type="text/javascript"></script>
<script src="/room/script/common.js" type="text/javascript"></script>
<script src="/room/script/jquery-1.3.2.min.js" type="text/javascript" ></script>
<script type="text/javascript">
<!--
//-->
</script>	
</head>

<body>
<div align="center"> 

 <div id="content">

<!----------------왼쪽---------------->  
<%@ include file="/room/common/left.jsp" %>
<!----------------왼쪽끝---------------->  



<!----------------가운데 시작----------------> 
 <div id="rgt">
  <div id="con01">
   <div class="top bb1"><img src="/room/img/txt_top.gif" /></div> 
   <div>
    <div class="list h550">
      <div class="pb20"><span style="font-size:11px;">Home >회원> <span style="color:#000;">아이디/ 비밀번호 찾기</span></span></div>
      <div>
       <div class="pb10"><img src="/room/img/line_blue.gif" width="32" height="2" /></div>
       <div class="tit">아이디/ 비밀번호 찾기</div>
     </div>
     <div><span style="font-size:11px;">홈페이지에 오신 여러분 환영합니다.</span></div>
     
     <div>
      <table width="595" border="0" cellspacing="0" cellpadding="0">
		<%
		if(!saveYn.equals("false")){
			if(mode.equals("I")){ 
		%>
       <tr>
        <td class=" ac bt2 bb1 pt15 pb20">아래내용을 확인해주세요.<br /><br />
          <strong>회원님의 아이디는 <span class="c_org"><strong><%=result_id%></strong> </span>입니다. </strong><br /><br />
          <a href="/room/member/login.jsp"><img src="/room/img/btn_ok.gif" width="47" height="26" /></a>
		</td>
       </tr>          
	  <%}else if (mode.equals("P")){%>
       <tr>
        <td class=" ac bt2 bb1 pt15 pb20">아래내용을 확인해주세요.<br /><br />	  
          <strong>회원님의 비밀번호는 <span class="c_org"><strong><%=result_pwd%></strong> </span>입니다. </strong><br /><br />
          <a href="/room/member/login.jsp"><img src="/room/img/btn_ok.gif" width="47" height="26" /></a>
		</td>
       </tr>
		<%	}
		}else{

		%>
       <tr>
        <td class=" ac bt2 bb1 pt15 pb20"><strong>입력하신 정보와 일치하는 회원이 없습니다.</strong><br /><br />다시 확인하시기 바랍니다.<br /><br />
          <a href="#" onclick="history.back();"><img src="/room/img/btn_ok.gif" width="47" height="26" /></a></td>
       </tr>
       <%} %>
      </table>
     </div>
     

   </div>
</div>  
</div>
<!----------------오른쪽 시작---------------->  
<%@ include file="/room/common/right.jsp" %>  
<!----------------오른쪽 끝---------------->
</div>


<!-------------푸터영역----------> 
<%@ include file="/room/common/footer.jsp" %> 
<!-------------푸터영역----------> 
<script type="text/javascript">
swfobject.registerObject("FlashID");
</script>
</body>
</html>
